package com.blkkj.huan.Modle;

import org.json.JSONObject;

public class JSONResult {

    public static String fillResultString(Integer deviceStatusList, String requestId, Object success){
        JSONObject jsonObject = new JSONObject(){{
            put("deviceStatusList", deviceStatusList);
            put("requestId", requestId);
            put("success", success);
        }};
        return jsonObject.toString();
    }
}
